float MeasureSet(unsigned short ut, unsigned short tb,unsigned int gainAmp, unsigned int diameter, float Ka);
char* UTget(void);
char* TBget(void);
float AccKSet(unsigned int gainAmp, unsigned int diameter, float Ka, unsigned long TimeSpace);
char* UTAccGet(void);
float SetAccDisplayFactor(unsigned short ut);

//TABELLA DI SCALA UNITA' TECNICHE E BASE DEL TEMPO

//coefficente generale di scala: serve a portare il Ka nel range desiderato (atorno a 1)
#define READ_PRESCALE 56

////////////////////
//UMITA' TECNICHE://
////////////////////

//milliltri
#define UT1 "ml"
#define UT1S 1000

//centilitri
#define UT2 "cl"
#define UT2S 100

//decilitri
#define UT3 "dl"
#define UT3S 10

//litri
#define UT4 "l"
#define UT4S 1

//decalitri
#define UT5 "dal"
#define UT5S 0.1

//ettolitri
#define UT6 "hl"
#define UT6S 0.01

//metri cubi
#define UT7 "m3"
#define UT7S 0.001

//mega litri
#define UT8 "Ml"
#define UT8S 0.000001

//////////////
//BASE TEMPO//
//////////////


//secondi
#define TB1 "/s"
#define TB1S 0.0001

//minuti
#define TB2 "/m"
#define TB2S 0.006

//ore
#define TB3 "/h"
#define TB3S 0.36

//giorni
#define TB4 "/d"
#define TB4S 8.64



